home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / vg-2.03 / video / vga.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-03  |  1004 b   |  36 lines

  1. /*
  2.  * Copyright (C) 1990, 1991 by Michael Davidson.
  3.  * All rights reserved.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software
  6.  * and its documentation for any purpose and without fee is hereby
  7.  * granted, provided that the above copyright notice appear in all
  8.  * copies and that both that copyright notice and this permission
  9.  * notice appear in supporting documentation.
  10.  *
  11.  * This software is provided "as is" without express or implied warranty.
  12.  */
  13.  
  14. #ifndef    VGA_H
  15. #define    VGA_H
  16.  
  17. /*
  18.  * vga.h    - VGA registers
  19.  */
  20.  
  21. /*
  22.  * VGA registers
  23.  */
  24. #define    VGA_SEQ_IDX    0x3c4        /* sequencer index    */
  25. #define    VGA_SEQ_DAT    0x3c5        /* sequencer data    */
  26. #define    SEQ_PLANE_SEL    0x02        /* plane select        */
  27.  
  28. #define    VGA_MISC    0x3c2        /* misc register    */
  29. #define    VGA_CRTC_IDX    0x3d4        /* CRTC index        */
  30. #define    VGA_CRTC_DAT    0x3d5        /* CRTC data        */
  31. #define    VGA_ATTR    0x3c0        /* attribute controller    */
  32. #define    VGA_GFX_IDX    0x3ce        /* grapics index    */
  33. #define    VGA_GFX_DAT    0x3cf        /* graphics data    */
  34.  
  35. #endif    /* VGA_H */
  36.